<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Bootstrap css样式库 -->
    <link rel="stylesheet" href="js/bootstrap-3.3.7-dist/css/bootstrap.min.css">
    <!-- jquery.js -->
    <script src="js/jquery-3.3.1.js"></script>
    <!-- Bootstrap js插件 -->
    <script src="js/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>01-bootstrap-快速入门.html</title>

</head>
<body>
<div style="margin-top: 200px; width:40%; margin-left: auto;margin-right: auto">
    <form class="form-horizontal" method="get" action="${pageContext.request.contextPath}/adminServlet">
        <input type="text"  name="method" value="add" hidden="hidden">
        <div class="form-group">
            <label for="Name" class="col-sm-2 control-label">用户名</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="adminName" id="Name" required placeholder="用户名" style="float: left;width: 60%">
            </div>
        </div>
        <div class="form-group">
            <label for="Name11" class="col-sm-2 control-label">密码</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="adminPwd" id="Name11" required placeholder="密码" style="float: left;width: 60%">
            </div>
        </div>
        <div class="form-group">
            <label for="Name21" class="col-sm-2 control-label">手机号</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="adminPhone" required id="Name21" placeholder="手机号" style="float: left;width: 60%">
            </div>
        </div>
        <div class="form-group">
            <label for="Name25" class="col-sm-2 control-label">邮件</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="adminEmail" required id="Name25" placeholder="邮件" style="float: left;width: 60%">
            </div>
        </div>
        <div class="form-group">
            <label for="Name27" class="col-sm-2 control-label">角色</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="adminRole" required id="Name27" placeholder="角色" style="float: left;width: 60%">
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-default">注册</button>
            </div>
        </div>
    </form>
</div>

</body>
</html>